// Vue的插件机制Vue.use(plugin)
// 1.plugin是对象或函数 如果是一个对象，对象要提供一个方法install 如果是函数，这个函数就作为install方法
// Vue.use(plugin) install会自动的执行
// 2.install方法中有参数Vue
// install函数中有参数Vue

import PageTools from '@/components/PageTools'
import Uploadexcel from './UploadExcel'
import UploadImage from './UploadImage'
import ScreenFull from './ScreenFull'
import ThemePicker from './ThemePicker'
import Lang from './Lang'
import TagsView from './TagsView'
export default {
  install(Vue) {
    Vue.component('PageTools', PageTools)
    Vue.component('Uploadexcel', Uploadexcel)
    Vue.component('UploadImage', UploadImage)
    Vue.component('ScreenFull', ScreenFull)
    Vue.component('ThemePicker', ThemePicker)
    Vue.component('Lang', Lang)
    Vue.component('TagsView', TagsView)
  }
}
